<form id="category_form" onsubmit="return false;" class="form-horizontal">
	<div class="form-group">
	    <label for="categoryName" class="col-sm-3 control-label"><span class="red">*</span> 分类名称：</label>
	    <div class="col-sm-9">
			<input type="text" class="form-control w300" id="categoryName" name="categoryName" <!--{if isset($categoryInfo)}--> value="<!--{$categoryInfo->description}-->" <!--{else}--> value="" <!--{/if}--> />
			<input type="hidden" name="categoryID" id="categoryID" <!--{if isset($categoryInfo)}--> value="<!--{$categoryInfo->id}-->" <!--{else}--> value="" <!--{/if}-->>
	    </div>
	</div>
	
	<div class="form-group">
	    <label for="parentID" class="col-sm-3 control-label"><span class="red">*</span> 上级分类：</label>
	    <div class="col-sm-9">
			<select class="form-control w150" id="parentID" name="parentID">
			    <option value="0_0_1">顶级分类</option>
			    <!--{foreach from=$category item=big}-->
					<option value="<!--{$big.bigCategoryID}-->_0_2" <!--{if $disabled == 1}-->disabled<!--{/if}--> ><!--{$big.name}--></option>
					
					<!--{foreach from=$big.midCategory item=mid}-->
						<option value="<!--{$big.bigCategoryID}-->_<!--{$mid.midCategoryID}-->_3" <!--{if $disabled == 1}-->disabled<!--{/if}--> >&nbsp;&nbsp;&nbsp;&nbsp;└<!--{$mid.name}--></option>
					<!--{/foreach}-->
				<!--{/foreach}-->
			</select>
	    </div>
	</div>

	<!--商品规格组-->
	<!--{if isset($specArray)}-->
		<ul class="nav nav-tabs" role="tablist">
			<li class="group_box active">
				<a href="#">规格组</a>
			</li>
		</ul>
	    <div class="permission_box" style="margin-top: 10px;">
	    	<!--{foreach from=$specArray item=spec}-->
	    		<div class="fl">
	    			<input id="chk_<!--{$spec.specGroupID}-->" class="square-checkbox" type="checkbox" value="<!--{$spec.specGroupID}-->" name="specGroupID">
					<label for="square-checkbox-2"><!--{$spec.specGroupName}--></label>
	    		</div>
	    	<!--{/foreach}-->
	    </div>   
	<!--{/if}-->    
</form>